package cn.itcast.wanxinp2p.consumer.service;

import cn.itcast.wanxinp2p.api.consumer.model.ConsumerRegisterDTO;
import cn.itcast.wanxinp2p.api.consumer.model.ConsumerRequest;
import cn.itcast.wanxinp2p.api.depository.model.GatewayRequest;
import cn.itcast.wanxinp2p.common.domain.RestResponse;
import cn.itcast.wanxinp2p.consumer.entity.Consumer;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * TODO
 *
 * @Description
 * @Author Administrator
 * @Date 2023/8/29 13:38
 **/
public interface ConsumerService extends IService<Consumer> {
    //用户注册
    void register(ConsumerRegisterDTO consumerRegisterDTO);
    //用户开户
    RestResponse<GatewayRequest> createConsumer(ConsumerRequest consumerRequest);
}
